<?php
session_start();
error_reporting(E_ALL);
ini_set('display_errors', 'on');
define('PATH_ROOT', rtrim(realpath(dirname(__FILE__) . '/../'),"\\"));
define('LIBRARY_PATH', PATH_ROOT.'/library/'); //类库目录

date_default_timezone_set('Asia/Shanghai');

require '../library/Cola/Cola.php';

$cola = Cola::getInstance();

$cola->boot()->dispatch();
